<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.util.collection.impl.LLPair</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.util.collection.impl.LLPair";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.util.collection.impl.LLPair.html" class="symbol">tango.util.collection.impl.LLPair</a></h1>
  
<dl>
<dt class="decl">class <a class="symbol _class" name="LLPair" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L34" kind="class" beg="34" end="191">LLPair</a><span class="tparams">(K, T)</span> : LLCell!(T); <a title="Permalink to this symbol" href="#LLPair" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L34">#</a></dt>
<dd class="ddef">
<div class="summary">LLPairs are LLCells with keys, and operations that deal with them.
 As with LLCells, the are pure implementation tools.</div>
<p class="sec_header">Author:</p>Doug Lea
 @version 0.93
<p class="bl"/>
 <P> For an introduction to this package see <A HREF="index.html"> Overview </A>.
<dl>
<dt class="decl"><a class="symbol _ctor" name="LLPair.this" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L49" kind="ctor" beg="49" end="53">this</a><span class="params">(K <em>k</em>, T <em>v</em>, LLPair <em>n</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#LLPair.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L49">#</a></dt>
<dd class="ddef">
<div class="summary">Make a cell with given key, elment, and next link</div></dd>
<dt class="decl"><a class="symbol _ctor" name="LLPair.this:2" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L59" kind="ctor" beg="59" end="63">this</a><span class="params">(K <em>k</em>, T <em>v</em>)</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#LLPair.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L59">#</a></dt>
<dd class="ddef">
<div class="summary">Make a pair with given key and element, and null next link</div></dd>
<dt class="decl"><a class="symbol _ctor" name="LLPair.this:3" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L69" kind="ctor" beg="69" end="73">this</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>]</span> <a title="Permalink to this symbol" href="#LLPair.this:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L69">#</a></dt>
<dd class="ddef">
<div class="summary">Make a pair with null key, elment, and next link</div></dd>
<dt class="decl">K <a class="symbol _function" name="LLPair.key" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L79" kind="function" beg="79" end="82">key</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.key" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L79">#</a></dt>
<dd class="ddef">
<div class="summary">return the key</div></dd>
<dt class="decl">void <a class="symbol _function" name="LLPair.key:2" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L88" kind="function" beg="88" end="91">key</a><span class="params">(K <em>k</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.key:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L88">#</a></dt>
<dd class="ddef">
<div class="summary">set the key</div></dd>
<dt class="decl">int <a class="symbol _function" name="LLPair.keyHash" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L98" kind="function" beg="98" end="101">keyHash</a><span class="params">()</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.keyHash" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L98">#</a></dt>
<dd class="ddef">
<div class="summary">set the key</div></dd>
<dt class="decl">LLPair <a class="symbol _function" name="LLPair.findKey" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L108" kind="function" beg="108" end="114">findKey</a><span class="params">(K <em>key</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.findKey" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L108">#</a></dt>
<dd class="ddef">
<div class="summary">return a cell with key() key or null if no such</div></dd>
<dt class="decl">LLPair <a class="symbol _function" name="LLPair.find" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L120" kind="function" beg="120" end="126">find</a><span class="params">(K <em>key</em>, T <em>element</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.find" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L120">#</a></dt>
<dd class="ddef">
<div class="summary">return a cell holding the indicated pair or null if no such</div></dd>
<dt class="decl">int <a class="symbol _function" name="LLPair.indexKey" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L133" kind="function" beg="133" end="144">indexKey</a><span class="params">(K <em>key</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.indexKey" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L133">#</a></dt>
<dd class="ddef">
<div class="summary">Return the number of cells traversed to find a cell with key() key,
 or -1 if not present</div></dd>
<dt class="decl">int <a class="symbol _function" name="LLPair.index" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L150" kind="function" beg="150" end="161">index</a><span class="params">(K <em>key</em>, T <em>element</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.index" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L150">#</a></dt>
<dd class="ddef">
<div class="summary">Return the number of cells traversed to find a cell with indicated pair
 or -1 if not present</div></dd>
<dt class="decl">int <a class="symbol _function" name="LLPair.countKey" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L166" kind="function" beg="166" end="173">countKey</a><span class="params">(K <em>key</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.countKey" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L166">#</a></dt>
<dd class="ddef">
<div class="summary">Return the number of cells with key() key.</div></dd>
<dt class="decl">int <a class="symbol _function" name="LLPair.count" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L178" kind="function" beg="178" end="185">count</a><span class="params">(K <em>key</em>, T <em>element</em>)</span>; <span class="attrs">[<span class="prot">public</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#LLPair.count" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.collection.impl.LLPair.html#L178">#</a></dt>
<dd class="ddef">
<div class="summary">Return the number of cells with indicated pair</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p></p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:10 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>